$OpenBSD: patch-fibers_js,v 1.3 2012/12/05 00:45:05 abieber Exp $
--- fibers.js.orig	Tue Nov 27 08:17:20 2012
+++ fibers.js	Tue Nov 27 08:18:10 2012
@@ -5,7 +5,12 @@ Math.random();
 
 // Look for binary for this platform
 var v8 = 'v8-'+ /[0-9]+\.[0-9]+/.exec(process.versions.v8)[0];
-var modPath = path.join(__dirname, 'bin', process.platform+ '-'+ process.arch+ '-'+ v8, 'fibers');
+var modPath;
+if ( process.platform === 'openbsd' ) {
+  modPath = path.join(__dirname, 'bin', 'fibers' );
+} else {
+  modPath = path.join(__dirname, 'bin', process.platform+ '-'+ process.arch+ '-'+ v8, 'fibers');
+}
 try {
 	fs.statSync(modPath+ '.node');
 } catch (ex) {
